;; NETDLKRT.INF
;;
;; D-Link DFE-538TX 10/100 Adapter
;;
;; Copyright 2001-2002, D-Link Corporation. All Rights Reserved.

[Version]
LayoutFile=layout.inf
Signature="$CHICAGO$"
Class=Net
ClassGUID={4d36e972-e325-11ce-bfc1-08002be10318}
Provider=%V_MS%

[Manufacturer]
%V_D-Link%=D-Link

[D-Link]
%DFE538.DeviceDesc%=DFE538.ndi,PCI\VEN_1186&DEV_1300&SUBSYS_13001186
%DFE538.DeviceDesc%=DFE538.ndi,PCI\VEN_10EC&DEV_8139
;;%rtl8138.DeviceDesc%=rtl8138.ndi,PCI\VEN_10EC&DEV_8138
;;%rtl8138ml.DeviceDesc%=rtl8138ml.ndi,*DLKRTS

[DFE538.ndi]
AddReg=DFE538.ndi.reg,notoncbs.ndi.reg,DFE538.pci.reg,pci139.ndi.reg,pci139.pcires.reg
CopyFiles=net139.inf.CopyFiles,net139.ndis3.CopyFiles
RenFiles=netpci.inf.Renamefiles

;;[rtl8138.ndi]
;;AddReg=DFE538.ndi.reg,oncbs.ndi.reg,DFE538.cardbus.reg,pci139.ndi.reg,pci139.pcires.reg
;;CopyFiles=net139.inf.CopyFiles,net139.ndis3.CopyFiles
;;RenFiles=netpci.inf.Renamefiles
;;
;;[rtl8138ml.ndi]
;;AddReg=DFE538.ndi.reg,oncbs.ndi.reg,DFE538ml.cardbus.reg,pci139.ndi.reg,pci139.pcires.reg
;;LogConfig=DFE538ml.LogConfig
;;CopyFiles=net139.inf.CopyFiles,net139.ndis3.CopyFiles
;;RenFiles=netpci.inf.Renamefiles

;;****************************************************************************
;;    *DLKRTS	 D-Link DFE-538TX
;;****************************************************************************

[DFE538.ndi.reg]

HKR,NDI\Params\DuplexMode,flag,1,30,00,00,00
HKR,Ndi\params\DuplexMode,ParamDesc,0,"Link Speed/Duplex Mode"
HKR,Ndi\params\DuplexMode,type,0,enum
HKR,Ndi\params\DuplexMode,default,0,1
;HKR,Ndi\params\DuplexMode\enum,0,0,"Default"
HKR,Ndi\params\DuplexMode\enum,1,0,"Auto Mode "
HKR,Ndi\params\DuplexMode\enum,2,0,"10Half Mode"
HKR,Ndi\params\DuplexMode\enum,3,0,"10Full Mode"
HKR,Ndi\params\DuplexMode\enum,4,0,"100Half Mode"
HKR,Ndi\params\DuplexMode\enum,5,0,"100Full Mode"


HKR,Ndi\Params\EarlyTxThreshold,ParamDesc,0,"Early Tx Threshold"
HKR,Ndi\Params\EarlyTxThreshold,Type,0,"int"
HKR,Ndi\Params\EarlyTxThreshold,Default,0,"38"
HKR,Ndi\Params\EarlyTxThreshold,Flag,1,20,00,00,00
HKR,Ndi\Params\EarlyTxThreshold,Min,0,"0
HKR,Ndi\Params\EarlyTxThreshold,Max,0,"63"
HKR,Ndi\Params\EarlyTxThreshold,Step,0,"1"
HKR,Ndi\Params\EarlyTxThreshold,Base,0,"10"

HKR,NDI\Params\NetworkAddress,flag,1,30,00,00,00
HKR,Ndi\params\NetworkAddress,ParamDesc,0,"Network Address"
HKR,Ndi\params\NetworkAddress,type,0,edit
HKR,Ndi\params\NetworkAddress,default,0,"000000000000"
HKR,Ndi\params\NetworkAddress,LimitText,0,12
HKR,Ndi\params\NetworkAddress,UpperCase,0,1
HKR,Ndi\params\NetworkAddress,Optional,0,1

;HKR,NDI\Params\TxMaxDMABurst,flag,1,30,00,00,00
;HKR,Ndi\params\TxMaxDMABurst,ParamDesc,0,"Transmit DMA burst size"
;HKR,Ndi\params\TxMaxDMABurst,type,0,enum
;HKR,Ndi\params\TxMaxDMABurst,default,0,6
;HKR,Ndi\params\TxMaxDMABurst\enum,0,0,"0:16 bytes"
;HKR,Ndi\params\TxMaxDMABurst\enum,1,0,"1:32 bytes"
;HKR,Ndi\params\TxMaxDMABurst\enum,2,0,"2:64 bytes"
;HKR,Ndi\params\TxMaxDMABurst\enum,3,0,"3:128 bytes"
;HKR,Ndi\params\TxMaxDMABurst\enum,4,0,"4:256 bytes"
;HKR,Ndi\params\TxMaxDMABurst\enum,5,0,"5:512 bytes"
;HKR,Ndi\params\TxMaxDMABurst\enum,6,0,"6:1024 bytes"
;HKR,Ndi\params\TxMaxDMABurst\enum,7,0,"7:2048 bytes"

;HKR,NDI\Params\RxMaxDMABurst,flag,1,30,00,00,00
;HKR,Ndi\params\RxMaxDMABurst,ParamDesc,0,"Receive DMA burst size"
;HKR,Ndi\params\RxMaxDMABurst,type,0,enum
;HKR,Ndi\params\RxMaxDMABurst,default,0,6
;HKR,Ndi\params\RxMaxDMABurst\enum,0,0,"0:16 bytes"
;HKR,Ndi\params\RxMaxDMABurst\enum,1,0,"1:32 bytes"
;HKR,Ndi\params\RxMaxDMABurst\enum,2,0,"2:64 bytes"
;HKR,Ndi\params\RxMaxDMABurst\enum,3,0,"3:128 bytes"
;HKR,Ndi\params\RxMaxDMABurst\enum,4,0,"4:256 bytes"
;HKR,Ndi\params\RxMaxDMABurst\enum,5,0,"5:512 bytes"
;HKR,Ndi\params\RxMaxDMABurst\enum,6,0,"6:1024 bytes"
;HKR,Ndi\params\RxMaxDMABurst\enum,7,0,"7:unlimitted"

;HKR,NDI\Params\EarlyRxThreshold,flag,1,30,00,00,00
;HKR,Ndi\params\EarlyRxThreshold,ParamDesc,0,"Receive FIFO threshold"
;HKR,Ndi\params\EarlyRxThreshold,type,0,enum
;HKR,Ndi\params\EarlyRxThreshold,default,0,2
;HKR,Ndi\params\EarlyRxThreshold\enum,0,0,"0:16 bytes"
;HKR,Ndi\params\EarlyRxThreshold\enum,1,0,"1:32 bytes"
;HKR,Ndi\params\EarlyRxThreshold\enum,2,0,"2:64 bytes"
;HKR,Ndi\params\EarlyRxThreshold\enum,3,0,"3:128 bytes"
;HKR,Ndi\params\EarlyRxThreshold\enum,4,0,"4:256 bytes"
;HKR,Ndi\params\EarlyRxThreshold\enum,5,0,"5:512 bytes"
;HKR,Ndi\params\EarlyRxThreshold\enum,6,0,"6:1024 bytes"
;HKR,Ndi\params\EarlyRxThreshold\enum,7,0,"7:No threshold"

;HKR,NDI\Params\TxInterFrameGap,flag,1,30,00,00,00
;HKR,Ndi\params\TxInterFrameGap,ParamDesc,0,"Tx IFG(10M/100M)"
;HKR,Ndi\params\TxInterFrameGap,type,0,enum
;HKR,Ndi\params\TxInterFrameGap,default,0,3
;HKR,Ndi\params\TxInterFrameGap\enum,0,0,"8.4us/840ns"
;HKR,Ndi\params\TxInterFrameGap\enum,1,0,"8.8us/880ns"
;HKR,Ndi\params\TxInterFrameGap\enum,2,0,"9.2us/920ns"
;HKR,Ndi\params\TxInterFrameGap\enum,3,0,"9.6us/960ns"

[DFE538.pci.reg]
HKR,Ndi,DeviceID,0,"PCI\VEN_1186&DEV_1300&SUBSYS_13001186"

;;[DFE538.cardbus.reg]
;;HKR,Ndi,DeviceID,0,"PCI\VEN_10EC&DEV_8138"
;;HKR,Ndi,CardType,,"PCI"
;;HKR,,AdapterCFID,,813810EC
;;
;;[DFE538ml.cardbus.reg]
;;HKR,Ndi,DeviceID,,"D-Link DFE-538TX 10/100 Adapter"
;;HKR,Ndi,CardType,,"LEGACY"
;;HKR,,AdapterCFID,,813810EC



[notoncbs.ndi.reg]
HKR,,ChipOnCardbus,,0

;;[oncbs.ndi.reg]
;;HKR,,ChipOnCardbus,,1
;;
;;[DFE538ml.LogConfig]
;;ConfigPriority=HARDRECONFIG
;;IOConfig=100@f000-f7ff%FF00(3FF::)
;;IRQConfig=3,4,5,6,7,8,9,10,11,12,13,14,15
;;MemConfig=4000@C0000-EFFFF%FFFFC000


;;****************************************************************************
;;
;;****************************************************************************

[pci139.ndi.reg]
; key,subkey,valuname,type,value
HKR,,DriverDesc,,"D-Link DFE-538TX 10/100 Adapter"
HKR,,DevLoader,,*ndis
HKR,,DeviceVxDs,,DLKRTS.SYS
HKR,,EnumPropPages,,netdi.dll,EnumPropPages

; NDIS Info
HKR,NDIS,MajorNdisVersion,1,03
HKR,NDIS,MinorNdisVersion,1,0a
HKR,NDIS,LogDriverName,,"DLKRTS"

; Interfaces
HKR,Ndi\Interfaces,DefLower,,"ethernet"
HKR,Ndi\Interfaces,LowerRange,,"ethernet"
HKR,Ndi\Interfaces,DefUpper,,"ndis3"
HKR,Ndi\Interfaces,UpperRange,,"ndis3"

 HKR,,MediaType,,1

; Install sections
;;****************************************************************************
;; PCI common parameters
;;****************************************************************************

[pci139.pcires.reg]
;;params
HKR,,AdapterType,,5
HKR,,BusType,,5

;; Resources
HKR,,InterruptNumber,1,04,00,00,00
HKR,,IOBaseAddress,1,02,00,00,00
HKR,,MemoryBaseAddress,1,01,00,00,00

HKR,NDI\params\InterruptNumber,resc,1,04,00,00,00
HKR,Ndi\params\interruptNumber,ParamDesc,0,"Interrupt Level"
HKR,NDI\params\InterruptNumber,flag,1,20,00,00,00
HKR,NDI\params\IOBaseAddress,resc,1,02,00,00,00
HKR,NDI\params\IOBaseAddress,ParamDesc,0,"I/O Base Address"
HKR,NDI\params\IOBaseAddress,flag,1,20,00,00,00


;;****************************************************************************
;; Drivers
;;****************************************************************************

;; Install NDIS3
[net139.ndis3.CopyFiles]
DLKRTS.SYS

[net139.inf.CopyFiles]
NETDLKRT.INF

[NETDLKRT.INF.Renamefiles]
NETDLKRT.INF


[DFE538.DelFiles]
drvidx.bin,,,1
drvdata.bin,,,1

;;****************************************************************************
;; Destination Directories
;;****************************************************************************
[DestinationDirs]
DefaultDestDir		    =11 ; LDID_SYS
net139.ndis3.CopyFiles	    =11
net139.inf.CopyFiles	    =17 ; INF
DFE538.DelFiles	    =17
netpci.inf.RenameFiles	    =17

[SourceDisksNames]
52="D-Link DFE-538TX 10/100 Adapter Driver Disk","",0

[SourceDisksFiles]
DLKRTS.SYS	=52,,12345

;;****************************************************************************
;; Localizable Strings
;;****************************************************************************
[strings]
;;Provider
V_MS="D-Link Corporation."

;;Manufacturers
V_D-Link="D-Link Corporation."

;;PCI D-Link Devices
DFE538.DeviceDesc="D-Link DFE-538TX 10/100 Adapter"
;;rtl8138.DeviceDesc="D-Link DFE-538TX 10/100 Adapter"
;;rtl8138ml.DeviceDesc="D-Link DFE-538TX 10/100 Adapter"
